#ifndef _CJOYSTICK_H
#define _CJOYSTICK_H

#include "SFML\Window\Joystick.hpp"

class CJoystick
{
public:
	CJoystick(unsigned int id);
	~CJoystick(void);

	void update();
	unsigned int getID() { return _id; }

	bool _buttons[sf::Joystick::ButtonCount];
	bool _lastButtons[sf::Joystick::ButtonCount];
private:
	unsigned int _id;

};

#endif // _CJOYSTICK_H